﻿using System;
using Domain.Infrastructure;

namespace System.Domain.Entity
{
    /// <summary> 
    ///角色授权表 实体 
    /// </summary>	
    public class SysRoleAuthorizeEntity : Entity<SysRoleAuthorizeEntity>, ICreationAudited { 

        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 角色主键
        /// </summary>
        public string RoleId { get; set; }

        /// <summary>
        /// 类型:1模块 2权限
        /// </summary>
        public int? Type { get; set; }

        /// <summary>
        /// 模块Id
        /// </summary>
        public string ModuleId { get; set; }

        /// <summary>
        /// 权限Id
        /// </summary>
        public string AuthorizeId { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>
        public int? SortCode { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatorTime { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>
        public string CreatorUserId { get; set; } 
    }


}
